<script setup lang="ts">
import { RouterLink, RouterView } from "vue-router";
import HelloWorld from "./components/HelloWorld.vue";
</script>

<template>
  <header>
    <div class="wrapper">
      <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">About</RouterLink>
        <RouterLink to="/addhouse">房号添加</RouterLink>
        <RouterLink to="/listhouse">房号列表</RouterLink>
      </nav>
    </div>
  </header>

  <RouterView />
</template>

<style scoped>
a {
  margin: 0 10px;
}
</style>
